<div id="message_destination_block" class="block">
  <div class="content">
    <div class="inner">
      <h3 class="title">フレンド一覧</h3>
      <%= form_tag "", :class => "form", :name => "destinations" do %>
        <ul class="list">
          <% @friends.each do |friend| %>
          <li><h3><%= check_box_tag "friends_list", friend.nick_name %> <%= friend.nick_name %></h3></li>
          <% end %>
        </ul>
      <% end %>
    </div>

    <div class="group navform wat-cf">
      <div class="inner">
        <%= button_to_function "選択", "setDestinations('#{h(@target_id)}', 'message_destination')" %>
      </div>
    </div>
  </div>
</div>
